<!DOCTYPE html>
<!-- saved from url=(0042)https://sc.myuserhub.com/portal/pswdchange -->
<html>
{include file="public/head"}
<body>
{include file="public/nav"}

<!--<div class="container">-->
<div class="rowHeader">
    <div class="container">
        <div class="row">
            <div class="col-lg-6 col-md-6" style="text-align:left">
                <h1>

                    欢迎 <span class="userName">{$UserInfo.username}</span>

                    <span class="label label-success lb-sm" style="vertical-align: middle;">通过审核</span>

                </h1>
            </div>
            <!--End collumn-->

            <div class="col-lg-6 col-md-6 pageTitleRight">
                <h1 class="pull-right">联系我们</h1>
            </div>
            <!--End collumn-->

        </div>
        <!--End Row-->
    </div>
    <!--End container-->
</div>
<!--End Row-->

<div class="container">
    <div class="row mainRow">

        <!--菜单栏-->
        {include file="public/menu"}
        <!--End column-->
        <div class="col-lg-9 col-md-12 col-sm-12 mainContent">



            <div class="panel panel-default">
                <div class="panel-heading">
                    联系表格 </div>
                <div class="panel-body">

                    <form action="" method="post" enctype="multipart/form-data">

<!--                        &lt;!&ndash;Select Case Group&ndash;&gt;-->
<!--                        <div class="form-group">-->
<!--                            <label class="col-lg-4 col-md-4 control-label" for="subject">主题 <span-->
<!--                                    class="redStar">*</span></label>-->
<!--                            <div class="col-lg-8 col-md-8" id="groupSubject">-->
<!--                                <select id="caseGroup" name="caseGroup" class="form-control"-->
<!--                                        onchange="if (!window.__cfRLUnblockHandlers) return false; showCaseSubjectList()">-->
<!--                                    <option value="" disabled="" selected="">查询类型</option>-->
<!--                                    <option value="1">一般查询</option>-->
<!--                                    <option value="2">交易平台</option>-->
<!--                                    <option value="3">开立真实账户</option>-->
<!--                                    <option value="4">支付</option>-->
<!--                                    <option value="5">交易问题</option>-->
<!--                                    <option value="6">合作关系及优惠</option>-->
<!--                                </select>-->
<!--                                <br>-->
<!--                                <span class="help-block" id="helpBlockSubject"></span>-->
<!--                            </div>-->
<!--                            &lt;!&ndash;End column&ndash;&gt;-->
<!--                        </div>-->
                        <!--End Select Case Group-->

                        <!--Input Comment -->
                        <div id="groupContactDescription" class="form-group">
                            <label class="col-lg-4 col-md-4 control-label" for="content">信息 <span
                                    class="redStar">*</span></label>
                            <div class="col-lg-8 col-md-8">
										<textarea id="content" name="content" class="form-control"
                                                  placeholder="在这里输入您的信息" rows="5"></textarea>
                                <span class="help-block" id="helpBlockContactDescription"></span>
                            </div>
                            <!--End column-->
                        </div>
                        <!--End Comment-->
                    </form>
                </div>
                <!--End column-->

                <br>
                <div style="clear:both;"></div>




                <input type="submit" id="contactSubmit" value="提交" class="btn btn-primary greenBtn pull-right" style="margin-right: 15px;">
                <button style="display: none; margin-right: 15px;" type="button" id="submittingButton"
                        class="pull-right btn btn-default greenBtn" disabled="">
                    <i class="fa fa-circle-o-notch fa-spin" aria-hidden="true"></i> 提交 </button>

                <div style="clear:both;"></div>



            </div>
            <!--End panel body-->
        </div>
        <!--End column-->

    </div>
    <!--End row-->
</div>
<!--End container-->

{include file="public/foot"}
<script src="/static/Admin/layer/layer.js"></script>
</body>
<script>
    var flag = 1;
    $("#contactSubmit").click(function (e) {
        e.preventDefault();
        if (!flag){
            return  false
        }
        $("#contactSubmit").hide()
        $("#submittingButton").show()
        flag = 0;
        $.ajax({
            type:"post",
            dataType:"json",
            data:$("form").serialize(),
            url:"{:url('User/FeedbackAdd')}",
            success:function (data) {
                if (data.status == 1){
                    layer.msg(data.message,{time:1500},function () {
                        window.location.reload()
                    })
                }else {
                    layer.msg(data.message,{time:1500},function () {
                        $("#contactSubmit").show()
                        $("#submittingButton").hide()
                        flag = 1;
                    })

                }
            }
        })
    })
</script>
</html>
